package org.jeecg.modules.wangge;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "CookieBase", description = "CookieBase")
public class CookieBase {
    private String EVENT_SESSIONID = "ED2576D541D49C25ACE06821F22C97C9";
    private String ZZGRID_SESSIONID = "4FA7F999E9258708A9C7221EDEE62C71";
    @ApiModelProperty(value = "nphuanght", allowableValues = "nphuanght")
    private String loginName = "nphuanght";
    @ApiModelProperty(value = "Pchbj12369", allowableValues = "Pchbj12369")
    private String loginPwd = "Pchbj12369";
    @ApiModelProperty(value = "remember")
    private String remember = "remember";
    private String UAM_SESSIONID = "966DAF978F431D11EF75AE9329557F3D";
    //Secure;
    @ApiModelProperty(value = "0")
    private String UAM_TOKEN_FLAG = "0";
    private String resourcekey = "V6q72kt3G3uF1cB8pbKvg8rIo4k9n6FlCwKWlaBnQ7oClK+VAe91dZYokmCMJaPJ/ZlGwmK0TB9GMWPhmPMCZA==";
    private String resource = "MPIFDMlak4msTkC9jLOy7cIA3IubfmEyxqRRmhKP / 1 iSV5ulMCHLB49V8CZvq0bA";
    private String JSESSIONID = "8C94DB4030CD565F7368C9BB1DD18BC6";
    private String SYS_SESSIONID = "41323F74748BF996B32889F1F9BA0CA5";

    @Override
    public String toString() {
        StringBuffer bf = new StringBuffer();
        bf.append("EVENT_SESSIONID=" + EVENT_SESSIONID + ";");
        bf.append("loginName=" + loginName + ";");
        bf.append("loginPwd=" + loginPwd + ";");
        bf.append("remember=" + remember + ";");
        bf.append("UAM_SESSIONID=" + UAM_SESSIONID + ";");
        bf.append("Secure;");
        bf.append("UAM_TOKEN_FLAG=" + UAM_TOKEN_FLAG + ";");
        bf.append("resourcekey=" + resourcekey + ";");
        bf.append("resource=" + resource + ";");
        bf.append("JSESSIONID=" + JSESSIONID + ";");
        bf.append("SYS_SESSIONID=" + SYS_SESSIONID + ";");
        return bf.toString();
    }

    public String toImgString() {
        StringBuffer bf = new StringBuffer();
        bf.append("ZZGRID_SESSIONID=" + ZZGRID_SESSIONID + ";");
        bf.append("loginName=" + loginName + ";");
        bf.append("loginPwd=" + loginPwd + ";");
        bf.append("remember=" + remember + ";");
        bf.append("UAM_SESSIONID=" + UAM_SESSIONID + ";");
        bf.append("Secure;");
        bf.append("UAM_TOKEN_FLAG=" + UAM_TOKEN_FLAG + ";");
        bf.append("resourcekey=" + resourcekey + ";");
        bf.append("resource=" + resource + ";");
        bf.append("JSESSIONID=" + JSESSIONID + ";");
        bf.append("SYS_SESSIONID=" + SYS_SESSIONID + ";");
        return bf.toString();
    }
}
